package com.slf.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.slf.dao.RoleDao;
import com.slf.entity.Role;
import com.slf.ro.RolePermissionRo;
import com.slf.service.RoleService;
import com.slf.vo.RolePermissionVo;
import org.springframework.stereotype.Service;

/**
 * 角色表(Role)表服务实现类
 *
 * @author SLF
 * @since 2023-03-30 16:33:44
 */
@Service("roleService")
public class RoleServiceImpl extends ServiceImpl<RoleDao, Role> implements RoleService {

    @Override
    public Page<RolePermissionVo> listRolePermission(Page<RolePermissionVo> page, RolePermissionRo ro) {
        return baseMapper.listRolePermission(page, ro);
    }
}

